#include<iostream>
#include<iomanip>
#include<algorithm>
#include<cmath>
using namespace std;
int main()
{
	int a, b;
	cin >> a >> b;
	int c = a * 10 + b;
	cout << (int)c / 19 << endl;
	return 0;
}